<template>
    <div class="map-view">
      <div class="left">
        <b-map></b-map>
      </div>
      <div class="right">
        <el-card shadow="hover">
          <div slot="header">
            <div class="header3">
              用户月同比增长
            </div>
            <div class="content-wrapper">
              <liquid-fill />
            </div>
          </div>
        </el-card>
        <el-card shadow="hover">
          <div slot="header">
            <div class="header3">
              热门搜索
            </div>
            <div class="content-wrapper">
              <word-cloud />
            </div>
          </div>
        </el-card>
      </div>
    </div>
</template>

<script>
  import BMap from '../Bmap/Bmap'
  import LiquidFill from '../LiquidFill/index'
  import WordCloud from '../WordCloud/index'
export default {
  name: 'MapView',
  components: {
    BMap,
    LiquidFill,
    WordCloud
  }
}
</script>

<style scoped lang="scss">
.map-view{
  display: flex;
  margin-top: 20px;
  .left{
    flex: 0 0 80%;
    width: 80%;
    height: 600px;
    background: #fff;
  }
  .right{
    flex: 1;
    margin-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    .header3{
      font-size: 14px;
      font-weight: 900;
      border-bottom: 1px solid #eee;
      padding: 16px 20px;
    }
    .content-wrapper{
      height: 190px;
    }
  }
}
</style>
